﻿<Serializable()> _
Public Class Venda

    Private _id As Nullable(Of Long)
    Public Overridable Property Id() As Nullable(Of Long)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Long))
            _id = value
        End Set
    End Property

    Private _comprador As Usuario
    Public Overridable Property Comprador() As Usuario
        Get
            Return _comprador
        End Get
        Set(ByVal value As Usuario)
            _comprador = value
        End Set
    End Property

    Private _lote As Lote
    Public Overridable Property Lote() As Lote
        Get
            Return _lote
        End Get
        Set(ByVal value As Lote)
            _lote = value
        End Set
    End Property

    Private _lanceDeFechamento As Lance
    Public Overridable Property LanceDeFechamento() As Lance
        Get
            Return _lanceDeFechamento
        End Get
        Set(ByVal value As Lance)
            _lanceDeFechamento = value
        End Set
    End Property


    Private _timeStamp As DateTime
    Public Overridable Property TimeStamp() As DateTime
        Get
            Return _timeStamp
        End Get
        Set(ByVal value As DateTime)
            _timeStamp = value
        End Set
    End Property


End Class
